-- GENERATED SPELL FOR [Simone the Inconspicuous] --


function spell0_14527(pUnit, Event) --@Chain Lightning,n/a--
pUnit:FullCastSpellOnTarget(23206,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14527', 3000, 1)
end

function spell1_14527(pUnit, Event) --@Fool\'s Plight,n/a--
pUnit:FullCastSpellOnTarget(23504,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14527', 691, 1)
end

function spell2_14527(pUnit, Event) --@Temptress\' Kiss,n/a--
pUnit:FullCastSpellOnTarget(23205,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14527', 45250, 1)
end

function Sorts_14527(pUnit, Event)
local choix_sorts_14527 = math.random(0, 2)
if choix_sorts_14527 == 0 then
pUnit:RegisterEvent('spell0_14527', 1, 1)
end
if choix_sorts_14527 == 1 then
pUnit:RegisterEvent('spell1_14527', 1, 1)
end
if choix_sorts_14527 == 2 then
pUnit:RegisterEvent('spell2_14527', 1, 1)
end
end

function mob14527_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14527', math.random(1500, 3000), 1)
end

function mob14527_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14527_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14527_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14527, 1, 'mob14527_Action')
RegisterUnitEvent(14527, 2, 'mob14527_Leave')
RegisterUnitEvent(14527, 3, 'mob14527_Kill')
RegisterUnitEvent(14527, 4, 'mob14527_Die')
